* {
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background-color: #ccc;
}

ul, ol, li {
  list-style: none;
}

img {
  width: 100%;
  height: 100%;
  display: block;
}

.nav {
  width: 190px;
  height: 470px;
  margin: 50px;
  background-color: #fff;
  position: relative;

  > ul {
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;

    > li {
      font-size: 12px;
      cursor: pointer;
      transition: color .3s linear;
      display: flex;
      align-items: center;

      > i {
        margin: 0 2px;
        font-style: normal;
      }

      > span {
        color: #333;

        &:hover {
          color: red;
        }
      }
    }
  }

  > .content {
    width: 1000px;
    min-height: 470px;
    background-color: #fff;
    position: absolute;
    left: 110%;
    top: 0;
    box-sizing: border-box;
    padding: 20px;
    display: none;
    justify-content: space-between;

    > .left {
      flex: 1;
      box-sizing: border-box;
      padding-right: 20px;

      > .tags {
        height: 20px;
        display: flex;

        > li {
          padding: 5px 10px 5px 5px;
          background-color: #333;
          font-size: 14px;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-right: 10px;

          > span {
            color: #fff;
          }

          > i {
            font-style: normal;
            color: #fff;
            margin-left: 5px;
          }
        }
      }

      > .cate_list {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 15px;

        > li {
          display: flex;
          font-style: 14px;

          > .name {
            width: 100px;
            text-align: right;
            box-sizing: border-box;
            padding-right: 10px;

            > span {
              font-weight: 700;
              font-style: 14px;
            }

            > i {
              font-style: normal;
            }
          }

          > ol {
            flex: 1;
            display: flex;
            flex-wrap: wrap;

            > li {
              color: #333;
              padding: 0 5px;
              margin-bottom: 3px;
            }
          }
        }
      }
    }

    > .right {
      width: 170px;

      display: flex;
      flex-direction: column;
      justify-content: space-between;

      > .small_list {
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: space-between;

        > li {
          width: 85px;
          height: 35px;
          margin-bottom: 2px;
        }
      }

      > .big_list {
        flex: 1;

        > li {
          width: 100%;
          height: 130px;
          margin-bottom: 2px;
        }
      }
    }

    &.active {
      display: flex;
    }
  }
}
